/**
 * Copyright (c) Software Institute of PKU
 * All rights reserved. 
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 */
package edu.pku.sei.modeler.model.structure;

import edu.pku.sei.modeler.model.common.AbstractPackage;

/**
 * @author zl
 *
 */
public class StructurePackage extends AbstractPackage {
	
	public static final String metaPackageName = "structure";
	
	public static final String metaNS_PREFIX = "meta.structure";
	
	public static final String __BENDPOINT__ = "MetaBendPoint";
	public static final String __DIAGRAM__ = "MetaDiagram";
	public static final String __LINK__ = "MetaLink";
	public static final String __NODE__ = "MetaNode";
	public static final String __SHAPEELEMENT__ = "MetaShapeElement";
	public static final String __REFERENCENODE__ = "MetaReferenceNode";
	public static final String __LOCATIONMANAGER__ = "LocationManager";
	public static final String __METALOCATIONMANAGER__ = "MetaLocationManager";
//	public static final String __LOCATIONMANAGER_HOST_ = "MetaLocationManagerHost";

	public static final String __HANDLERLOCATIONMANAGER__ = "MetaHandlerLocationManager";
	public static final String __ABSOLUTELOCATORADAPTER__ = "AbsoluteLocatorAdapter";
	public static final String __ACTIVATIONLOCATORADAPTER__ = "ActivationLocatorAdapter";
	public static final String __CUSTOMELOCATORADAPTER__ = "CustomerLocatorAdapter";
	public static final String __PORTLOCATORADAPTER__ = "PortLocatorAdapter";
	public static final String __PINLOCATORADAPTER__ = "PinLocatorAdapter";
	//@zhaoyi
	public static final String __HANDLERLOCATOR__ = "HandlerLocator";
	//
	//@liangjie
	public static final String __COMPOUNDNODE__ = "COMPOUNDNODE";
	//
	public static final String SHAPEELEMENT_ELEMENT = "element";
	public static final String SHAPEELEMENT_PARENT = "parent";
	public static final String SHAPEELEMENT_ISREFERENCESHAPE = "isReference";
	
	public static final String NODE_HEIGHT = "height";
	public static final String NODE_WIDTH = "width";
	public static final String NODE_LOCATIONX = "locationX";
	public static final String NODE_LOCATIONY = "locationY";
	public static final String NODE_INCOMINGS = "incomings";
	public static final String NODE_OUTGOINGS = "outgoings";
	public static final String NODE_SUBNODES = "subNodes";
	public static final String NODE_DIAGRAM = "diagram";
	public static final String NODE_LOCATIONMGR = "locationMgr";
	public static final String NODE_COLOR = "color";
	public static final String NODE_LINE_COLOR = "lineColor";
	
	public static final String LINK_BENDPOINTS = "bendPoints";
	public static final String LINK_SOURCE = "source";
	public static final String LINK_TARGET = "target";
	public static final String LINK_TARGET_ANGLE = "targetAngle";
	public static final String LINK_SOURCE_ANGLE = "sourceAngle";
	
	//@YangYuanzu
	public static final String LINK_ANCHOR_OFFSET = "anchorOffset";
	public static final String LINK_ANCHOR_DELAY =	"anchorDelay";
	
	public static final String DIAGRAM_NODES = "nodes";
	public static final String DIAGRAM_TYPE = "type";
	public static final String DIAGRAM_SHOWGRID = "showGrid";
	public static final String DIAGRAM_SNAPGEO = "snapToGeo";
	public static final String DIAGRAM_SHOWRULER = "showRuler";
	public static final String DIAGRAM_CONNECTIONS = "connections";
	
	public static final String BENDPOINT_X = "x";
	public static final String BENDPOINT_Y = "y";
	
	public static final String REFERENCENODE_SOURCENODE = "sourceNode";
	public static final String REFERENCENODE_TARGETNODE = "targetNode";
	
	public static final String ACTIVATIONLOCATOR_BREADTH = "breadth";
	public static final String ACTIVATIONLOCATOR_POSITION = "position";
	public static final String ACTIVATIONLOCATOR_POSITIONTYPE = "positionType";
	public static final String ACTIVATIONLOCATOR_VERTICAL = "vertical";
	public static final String ACTIVATIONLOCATOR_HEADMARGIN = "headMargin";
	public static final String ACTIVATIONLOCATOR_TAILMARGIN = "tailMargin";
	public static final String ACTIVATIONLOCATOR_MIDMARGIN = "midMargin";
	
	public static final String LOCATIONMANAGER_LOCATORS = "locators";
	public static final String LOCATIONMANAGER_NODES = "nodes";
	public static final String LOCATIONMANAGER_MANAGEDLIST = "managedList";
	public static final String LOCATIONMANAGER_MANAGECLASS = "manageClass";
	public static final String LOCATIONMANAGER_HOST = "m_host";
	public static final String LOCATIONMANAGER_KEY = "m_key";
	public static final String LOCATIONMANAGE_ELEMENT = "MrgElement";
	public static final String LOCATIONMANAGER_REFNAME = "locationMrgRefname";
	public static final String LOCATIONMANAGER_LOCATOR = "locationMrgLocator";
	
	public static final String PORTLOCATOR_DIRECTION = "direction";
	public static final String PORTLOCATOR_NUMPERSIDE = "numPerSide";
	public static final String PINLOCATOR_SIZE = "size";

	public static final String NODE_ADSORB = "adsorb";
}
